// 组合redux子模块 + 导出store实例
import { configureStore } from "@reduxjs/toolkit";

import userReducer from "./modules/user";

export default configureStore({
	reducer: {
		// 注册子模块
		user: userReducer,
	},
});
